.CustomPalettePicker {
  width: 100%;
}

.CustomPalettePicker__Columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 0px;
}

.CustomPalettePicker__Colors {
  display: flex;
  margin-bottom: 12px;
}

.CustomPalettePicker label,
.CustomPalettePicker label ~ label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  margin-top: 0px;
}

.CustomPalettePicker input:checked + .CustomPalettePicker__Button {
  /*outline: none;
  border-color: transparent;*/
  box-shadow: 0 0 0px 2px var(--highlight-color) inset;
  z-index: 10;
  position: relative;
}

.CustomPalettePicker label input {
}

.CustomPalettePicker__Legend {
  flex: 1;
  line-height: 49px;
  margin-top: 5px;
  margin-right: 5px;
}

.CustomPalettePicker__Button {
  flex: 1;
  background: var(--input-bg-color);
  /*font-size: 10px;
  line-height: 28px;*/
  text-align: center;
  border: 1px solid var(--input-border-color);
  border-right: 0;
  border-left: 0;
  color: var(--button-text-color);
  line-height: 98px;
  font-size: 30px;
}

.CustomPalettePicker__Button:hover {
  /*border: 2px solid var(--input-border-color);*/
}

.CustomPalettePicker__Button--Left {
  border-left: 1px solid var(--input-border-color);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.CustomPalettePicker__Button--Right {
  border-right: 1px solid var(--input-border-color);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.CustomPalettePicker__Button--Active,
.CustomPalettePicker__Button--Active:hover {
  background-color: var(--highlight-color);
  border-color: rgba(128, 128, 128, 0.5);
  color: #fff;
}
